import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import AddServices from "../views/addservices.vue"
import ServiceSupport from "../views/serviceSupport.vue"
import Question from "../views/question.vue"
import CommpanyProgile from "../views/commpanyProgile.vue"
import CommpanyHonor from "../views/CommpanyHonor.vue"
import developHisory from "../views/developHisory.vue"
import handsWanted from "../views/handsWanted.vue"
import contactWay from "../views/contactWay.vue"
import primaryService from "../views/primaryService.vue"
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    // 主服务
    {
      path: '/primaryService',
      name: 'primaryService',
      component: primaryService
    },
    // 增值服务
    {
      path: '/AddServices',
      name: 'AddServices',
      component: AddServices
    },
    // 订单查询
    {
      path: '/ServiceSupport',
      name: 'ServiceSupport',
      component: ServiceSupport
    },
    // 常见问题 
    {
      path: '/Question',
      name: 'Question',
      component: Question,
    },
    // 企业概况
    {
      path: '/CommpanyProgile',
      name: 'CommpanyProgile',
      component: CommpanyProgile,
    },
    // 企业荣誉
    {
      path: '/CommpanyHonor',
      name: 'CommpanyHonor',
      component: CommpanyHonor,
    },
    // 发展历程
    {
      path: '/developHisory',
      name: 'developHisory',
      component: developHisory,
    },
    // 加入我们
    {
      path: '/handsWanted',
      name: 'handsWanted',
      component: handsWanted,
    },
    // 联系我们
    {
      path: '/contactWay',
      name: 'contactWay',
      component: contactWay,
    }
  ]
})

export default router
